home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / editor / auror300.zip / CFGFIND.AML < prev    next >
Text File  |  1996-07-17  |  1KB  |  42 lines

  1. //--------------------------------------------------------------------
  2. // The Aurora Editor v3.0, Copyright (C) 1993-1996 nuText Systems
  3. //
  4. // CFGFIND.AML
  5. // Configuration for Search and Replace Options
  6. //--------------------------------------------------------------------
  7.  
  8. include bootpath "define.aml"
  9.  
  10. variable searchopt, replopt
  11.  
  12. // create dialog box
  13. dialog "Search Options" 41 13 "cp"
  14.  
  15. // search options
  16. groupbox 'Default Search Options:' 3 2
  17.   (menu ''
  18.      item " [ ] &Block Only"
  19.      item " [ ] &Global Search"
  20.      item " [ ] &Ignore Case"
  21.      item " [ ] Search in &Reverse"
  22.      item " [ ] &Skip Closed Folds"
  23.      item " [ ] &Whole Words Only"
  24.      item " [ ] Regular E&xpressions "
  25.    end)  '' _SearchOpt "bgirswx"
  26.  
  27. // replace options
  28. groupbox 'Default Replace Options:' 3 11
  29.   (menu ''
  30.      item " [ ] Replace &All"
  31.    end)  '' _ReplaceOpt "a"
  32.  
  33. // ok/cancel buttons
  34. button "O&k"     31  3 8
  35. button "Cancel"  31  5 8
  36.  
  37. // display dialog box
  38. if (getdialog ref searchopt ref replopt) == 'Ok' then
  39.   prf.SearchOpt = searchopt
  40.   prf.ReplaceOpt = replopt
  41. end
  42.